import React, { Component } from "react"
import Login from "./pages/Login"
import Registe from "./pages/Registe"
import withDemo from "./pages/Demo"
const WithLogin = withDemo(Login)
const WithRegiste = withDemo(Registe)

export default class App extends Component {
  render() {
    return (
      <div>
        <h1>高阶组件</h1>
        <WithLogin></WithLogin>
        <WithRegiste></WithRegiste>
      </div>
    )
  }
}
